xen: XENMEM_add_to_physmap_batch: Mark 'foreign_id' as reserved for dev_mmio
authorJulien Grall <julien.grall@arm.com>
Fri, 27 May 2016 16:06:20 +0000 (17:06 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 30 May 2016 12:02:43 +0000 (13:02 +0100)
commita38c4d7edc665d721882b42546afa7732fbb6228
tree93a9a53a691659d4c023ef3aed73e8fe980d7524
parent5ff371e9d87f468bf73acfafd65ba5a0d1b7bd4f
xen: XENMEM_add_to_physmap_batch: Mark 'foreign_id' as reserved for dev_mmio

The field 'foreign_id' is not used when the space is dev_mmio. As the
space is not yet part of the stable ABI, the field is marked as reserved
for future use.

The value should always be 0, other values will return -EOPNOTSUPP.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/arm/mm.c
xen/arch/x86/mm.c
xen/common/compat/memory.c
xen/common/memory.c
xen/include/public/memory.h
xen/include/xen/mm.h